<?php


namespace app\common\validate;


class PasswordValidate extends BaseValidate
{
    protected $rule = [
        'username' => 'require',
        'password' => 'require|min:3|max:20'
    ];

    protected $message = [
        'username' => '用户名不能为空',
        'password' => '密码必须是3～20个字符'
    ];
}